fix bug with multiplexing and hpc (problem with the scaling and 0 values)