Fixed infected value not updating