moreavoid exception when array is not set