add auto indent mode