fixed servicesjs error