Fix bug that was showing win not lose; cleanup