Fix options error by going one level deeper in the object