fix to print entire name
fix warning for unused format specifers