added index check in import, in case data array contains more data-columns than header columns