Fixed a bug when not using options.