Thanks so much dear msgiblin, it works eventually. my mistake was in selecting the wrong groups for custom states.