fixed the delayed response