Unable to get correct data bug.