fix migrate.rb