fixe firefox bug with setProperty