correct static_dirs