remove unused object reference