fixed a bug in judgement

while the value link is "#" or ""