code cleaning: replace uppercase