set $short as $entity as a default value.
only modify $short if $entity has a namespace backslashes.