IDE code reformatting
fixed issue with invalid offsets of knext and hanging when an offset is not defined