charset fixed, removed duplicated footer