remove useless var attacktype