error fixed in arrays initialization