puzzle cleanup