fixes migration