fix duplicate data in firefox build