fixed the post value in the insert query