Fix errors in function print_AVDictionary