cleanup before booking