fix recursive schedule call