added autocomplete for sql field