europsky prezident greedy pattern fix