correction in print_environment