seems to be working, fixed bugs in rmvEatenLines