fixed bug pertaining to user attack input