clean the appropriate paths