fixed illegal nesting on the application layout