handle embedded % in objectName

This is the solution for issue #554