fix static dirs with correct directory