Fixed bug with options object feature.