remove paths from variables