v3.1.x: remove extra code
v3.1.x: refactor util/Ask