check layout assignment