fixed a couple little errors