fix propagation with gain