remove static files pref