adding back resetdbconnection