fixed it so capitalization of titles doesn't effect rule.