compat with 3.12.1