fixed non-existant option function