Fix #2074 by initializing  as an array