allow assign layout in locals