addressed layout assignment error presented when scope is instantiated