Fix SmartEnter completion