Fixed bug #569: Some options throws unknown exception.