fixing a couple small bugs, to get started