ensure proper case