fix silly memory explosions