fixed bug with tandem repeat