fixed date receive and date send
added generic errors