layout check