fixes a bunch of things?