fixed db connection
really fixes db connection
fixes evil typo