correct indent/outdent workflow. close #16