yep, i knew that one :-) problem of string replace "entity" with
"document". i checked what i replaced but meant to replace "an d" with
"a d" afterwards but apparently forgot