clean output messages