fix a lot of things