Fixed 'add keys and values in a hash'