a couple minor fixes