Fixed a bug that made data get forwarded twice.