fixed some small errors i missed when my linter was not working