fix python3 bug with dict_values not being a list