some debug messages have been hidden