Make case insensitive

Also fix array out of bounds error in params.del()