Fixed bug of media module