fixed problem with choosing of category