migrate error fixed