Fix static dir settings