ME and fix dead unit getting direction bug