fixed various tabcompletion issues