fix callback server bug