a couple of simple fixes