fix mapping in cmdwin