fix delay callback