Update some function for better handling missing value