fix checking empty href pictures

closes #124