db: fix bug handling ':' character