fix object path bug for special characters, such as dot, which is
escaped.