fix nil pointer to values