make tidyup act on self instead of creating a new object