Bug fix in jittering