a missed case in doMode