Fixed bug which prevents usage in FireFox