Fix scheduler function with string,string