Minor bugfix of the (temporary) compat API