attempted fix for deadlines problem