fixed db problem in create_beds.rb