change null value store as pointer to type value