convert line to lowercase before check, to improve performance, and lowercase fallthrough.