remove notices in cli mode