close buffer leaving split