fixed double tapping submit button bug