fix connection between category and user