fixing category problems
added error handling
a content has categories
removing future warning
slug is unique
managing categories