fixed the timeout