adding undefined indexes to default array to prevent notices