correction detection