fixed local file path for media