couple of minor fixes