layout internal and error view