error handling, clean_empty_objects management command