Fixes bug in srv.rb