fixing the wrong reference