simply drop the privilege right after the program is started. Thanks to bde for giving me good suggestion about this problem.