correct path of media files