corrections, debug