Fix bug in post model, using name instead of title.