better error message when incomplete input is forced. fixes #5373