remove trailing WS
patch to continue the search for prop