fix option key exception.