fixed loader params bug