fixed: an error occurs when data is missing partially