Fixed FireFox bug