Db attrs fix