fixed a bug with go