fix bug in PUT scheduling