DB Encoding fixed