fix auto-complete under c-mode and c++-mode, also delete some negative settings