fix destroy children in models. Fix styles for header and footer.