db field types set properly