fix FTS inits and query