fixed bug in migration script
fixed layout