fixes bug with debug toolbar 1.2.1