cleanup.
fix the input format.
fix add_inputs in worker_inputs
modify the add_inputs again.:wq