resolve browser incompatiblity for submit button