undefined values return undefined instead of errors