Fix sending data variable
Remove needless include
Remove needless call
Fix function definition
Add head files