remove printing messages