Fixed problem with ending hunt. close #178