fixes icon
changes to hash type acceptable
fixes indictions by rubocop