Different loop dimension fix