can't get value out of object literal