tried to access iterator after erasing in delete room