Removed a bug in tags and categories