fixed create.host API syntax