Fix genetic solver