fix scale and shape parameter problem
fix scale and shape parameter problem