more logging diagnosis