small fixed when reference for version2
version two: chat feature and pipetoclient and ras function implemented. TODO: TESTING