fix smartparens base mode