repair static_path set bug