correction of mistakes (hometask_6)