Fix! nil in set_category