modify ruby autocomplete bug