delay bug fixed