fix date closure template