minor changes to run under rubymine 5