BUG before use object's property check it to make sure it is not NULL.