updated to rubocop 0.24 and fixed rubocop errors