fix the timeout setting