Delete reference is wrong, fixed