Fixing reference to provider