fixed db text field writes