fixed issue related to missing data handling.