compatibility changes for 3.2