changing media handler to get round nginx issue