Had to redo database connection