fixed issue with sending integers