minor fixes for multiple clicks on submit and sytle changes