Correct staticdir setting