fixed you lose bug
final