clear analysis area if we get a bad layer