Fixed socket parsing error