remove 'uid' from media route