remove schedule code