Actually this is my code: I should check the opt_callback prior calling it (since opt_callback is optional)