wtform bug fix to be carefull, fts test add and todo improve