Fixed migration and fixed typo