fixed some minor things, and elucidate a problem source