fix bug on server