fix upload media