fix for indentation calculation