why removing the toLowerCase ?
without this, some values that worked perfectly before might not work anymore