Fix loaderPlugin