Fix post model issue