Fix

Fix a error in index.js