Fixed bugs to Post entity