fix 5 steps send to server bugs.