fix commit with scheduler