fixed bug that stopped the removal of bases from either end of variant reads