Fixed migration issue. closes #79