remove local media path