remove faulty clear_object logic (which would override __object wit null, thus producing warning in the rest of the loop)