Fix auto-gamma by using which.