some cleanup to socket posts