fixed things that rubocop did not like