fixing syntax errors  in socketobservabel