Compensation of transmission channel effects in chaos synchronization