fix a few things

getting rid of some errors