fix python autocomplete problem