fixed: ending not shown correctly (not tested)