fixing duplicating post by editing default layout