Delete members from static segment

add very useful function