fixed wrong usage of "cut"