make test compatible