Fix some debug messages