fix: eraser on android; remove dead code