zero out the array before using it again