removes local prompt references