putting some debug logs to debug poor buffy performance