prevent spam of continue button