mid cleanup, broken