fix testes
change api