delay bug fix