finish data input