fixed improper layering of xml in view chapter