fixing wrong reference