fixed a bug with continuing walking after killing something