clean up before docs