TMB. fixed small bug