select category sort of working