fixed Preprocessor bug in SocketLink flows