fixed when obj as null
added param path
changed spec for new STD apis