fix obj cleanup