install check for valid db in setup