Fixed problem with not accessing values correctly