fix bug finding variants