some clean up
fix to avoid nagging. and pretty hex printout of iv