improvents and bug fixes(fix the bug where you can attack behind them)