code cleanup for post comment send to author