fixed crash when sending model to detailVC