Fix bug in datalink

Suddenly all datalinks were broken :disappointed: