made sure terms are all lowercase