fix reset db function