fixed bugs about static dirs