fixed issue of timeout