fixing bug in status.rb
fixing bug in status.rb