fixing categories issues