changes for using nodejs domain