fixing notebook with DEBUG parameters