Fix bug when trying to retrive the model string.