fix arguments of timeout