cleaning up to prepare for a pull