fixed the melee attack command