fixed null pointer dereference in handle_print_meta_infos