fix rubocoop errors