corrected prompt finalization problem with consume