remove diagnostic puts statements