fix service.js