category controller fix