restore input data when download from DB