Fix time end-tag