fix bug in migrations loading
1.0.5