protect sendto method