protect names case insensitively. fixes #215