fix bug

fix when installer is run with bad current directory