Added example for bad value conversion

Also fixed an inconsistency in some variable names