fixed message bug on server