before and after correction