Fix scheduler API estimate bug