Fix some stupid errors