fixed bug in varyrecfast

fixed bug in varyrecfast