Fixed erosion method

- updates handles correctly