register layout finished with error messages