revert debug stuff