Fixed bug in options.media