clean arrays and prepare for full web lines