Fix crash firefox: