delete needless endl