missed db model declaration fix