Fix invert, make reset reset everything