remove local paths