fix bag with deadline