refactor delete_bang and squeeze_bang