fixed edit/delete sns bugs