various bug fixes in station.rb