bugfix when removing nanops that generate money