remove dynamic paths