check that options object is sent