fixed cut in interpreter and C