accessing object as array fix