remove extraneous puts