trying to fix error with send