handle db file signatures correctly