fix option.callback being overrided