Fix issue with .db