input read finished