fixing jitter stuff