fixed delete category
fixed delete for posts and threads