fix functional disabling of submit button