check layout