Solved erasing problem