fix exception in indent updater