changed send to check for last occurance of to
Merge pull request #2 from Ninja3047/master

changed send to check for last occurance of to