fix for FireFox 21 error