Fixed bug with submit button on Chrome and FF