correction for getAttachedBlock in CanarySign