multi-input for one doc fixes