Fix some embarrassing errors