fix bug in repeated input processing
update api docs