static dir fix