bug fix to make --predict-output work also with time-based technique