bugfix: potential misadressing when trimming cstr's
remove obsolete function
include invalid property name in property filter error message