support static dirs