Fix issue which model cannot get url path.