fixed inf loop bug in LT mutate func