Fix Importance sampling