Fixed wrong initialization of array 'a'