fixing send command