resolve the endless postlayout loop. more elegant way
before leave the office