ooops.  wrong variable bug