fixed a bug with gomap