Fix web interaction with genetic algorithm