Fixed a weird migration problem