autoclose - fix auto-indent bug when using spaces