fixed link case bug