various small fixes to categories module and routing