fixes a few things anthony missed