fix #23. add parsing condition to return object.