fix multiple continue button bug