Avoid unneeded calls of senddata