Clean up
- make call wrapper initializes the return value to zero so that null must be returned when an error occurs in object mode function