fix rubocop complains