fixed making migrations bug