don't crash when primitive values are thrown