fix the Flask static and template folder