fixed a problem in the post_submit