v2.3

set awnd only when switch has a smaller value