removed sleep in migration