fixed sending types and format