Fix that makes the media uploads work correctly.