adding fixes from rubocop and YARD