Fixed bug of media uploaded