type correction with submit and home button