throwing error when we try to set value for non existent dot notation object