Invalid value of accessing data