maxinputs temp fix