Fix security issue with firefox