fixes in residual block output