fix schedule helper