if load page very slow, array is unavailabel. add check