added checks if the selected db type is possible