#70 fix switch-iteration style