fix statics for 3.1