death handled correctly. fixed bugs with movement