fixed models/index.js