Fix a bug in missing data