fix bug when running in other place