[FIX] Error when there are not categories