bugfix of selector declaration