delete after and before