some style tweaks for rubocop