switched back to print each line
don't printall for unkown key
fixed printall