attempted fix in  correct(), + removed whitespace