fixed a bug in sangraama server