fixed DB uniqueness on textfields