make indenting more robust