fixed a bug in remote_server callback format