remove cutting of last character