correct hash syntax to pass rubocop