Fixed template not matching document structure