fix clear layout blocks cache