fix form button bug