fix bug when use some webserver