Fixed set options bug