removed the categories variable from posts