Fixed bug in options.output