fix sending wrong reference