fix category selector callback