root api test fix
refactor config