corrected some printing erros