getting rid of deprecated smartindent