some textcomplete improvements