fix linkdest error when option as is nil