Fix tiny bugs of cut.