fixed good ending jumping to bad ending