fixed db models
try mongoose middleware