errors with categores