Fixed error with sending