fixed bug in server3