remove unused output in shell