fix static dirs contain static root