remove nonsense output