fix attacking towers bug and walking over bug