fix osc init issue