minor bigfix with function call in print_all()