fix extension of media dep