fixed a DB restriction on field length from data