Fixed some autosaved and merged it into the ajax controller