Fix up stupid errors