fix model.

Fix models.
There are something wrong with relationship between models.