reformat code and fix _removeCorrection with _nil Node