Bug fix

Forgot to check isAlive()