correct bug for firefox 10