Fix some really stupid errors