discard last answer if the given array has a different length of expected array, fixed #289