fixed instruction in database.js