fix edit_session.rb