fixed zerogw APIs