cleanup for common return object