minor corrections with socketId