exception check. when there is no directory
indent modified