disable some compat functions