ups. deletes debug messages