Fixed a bunch of copy paste bugs