Array defenition bug fixed