fix marker selection problem after category refactoring