Fix Crash after debug