fixes #575 by converting both strings to lower cases