Fixed error with making new posts