fix deletion order on populate.rb