Fixed the error save post was creating 2 times