fix bug, throw error when object property is null