minor fix to post model