fix for running with debug toolbar (!?)