fixed end-time layout error