fixed NPE in SendPostTask