correct db link variable