fixed removing flags bug, shotgun attack seems to work.