fix type of post