remove some unnecessary printf/puts