changed the splice to avoid undefineds
endgame screen