Fix error
Add model to db