fix exports.database, but still not work