delete sns buttons. and refactoring