replace [] array init with array() syntax for backward compatibility