moved auto-complete requirement to end because it caused problems at startup