removed the stupid design choice of having a free in sendmessage, its not the functions responisbility