restored lengths of database columns