Fixed bug in media detail