fix to works with lastest Firefox 15+