bug fixed: input format reducer