fix #18 options ubdefined