Fixed cutting bug