modify indent
log error message.