Improve for smartparens setting