Now categories gets saved correctly