remove the dummy code from rboc.rb, handle invalid key errors