fixed that bug and reset db