Fix cut undefines trouble