fixed check for options.indentLevel