fixed complete bug if two option names started with the same letters