Corrects spacing errors and buffer ignore errors