discard unaccessary samples