case sensitive sql and fedora fixes