repaired batch_mode. TODO: repair alignment -> problem in multi-alignment