Yes, the problem is in return value. Changing to `get_ch` temporarily solves the problem.