Fixed autosave routing error and enter key js interception