fix uninitialize array error message.