removing secret keys