Fix compatibility bug in 3.2.