Fix bug with form on home page