fixing the timeout