fix isX variables not being reset on parseObj