fixing schedule blocks and shifts