Preventing mice in extensions