fixed wrong variable regression
Merge branch '3.2'