category entity, img edit fix