fixed to access to array.