use model$data instead of model@frame for name
used model$data for lme object