in stmt checking, was originally only returning sast nodes but not updating the env; fixed