fixing exposed variables into plugin scope.