Correct a bunch of terminal errors