small mod for debug