Clicking submit no longer crashes the site