resolving db issues for nokogiri