try / except around data conversion