fix autocompletion in extends clause