fix active status of menu item