player reset fix and ending added