fixes schedule api