Db model fix applied