fixed bug array not initialized

Change-Id: I4b5fa0762b2adad28ada908974285d05580bfb38