prevented infinite recusion in indent function