*api-root* changed to a non-dynamic name.

The compiler was choking each time. I just changed the variable name.