fix osc up logic