Fixed a couple stupid errors