check array offset after  explode()