fix switch default indent bug