Fixed bugs in data migrate
Merge pull request #61 from obduk/fix_data_migrate

Fixed bugs in data migrate