Fixing API host issues

Signed-off-by: Alan Gardner <alan@armoin.com>