add a switch to disable omni complete