Categories bug fixed when creating post