Fix exception raising in read_values

Fix #91