pawn and king attacks fixed