fixed bug where clicking on labels didn't work