deadline bug fix