Fix Recursive setObject issue