some gfxtarget cleanup