fixed server bug*