fix selected category