fixed double post bug