fix date bug, cap.html cosmetic change