fix Firefox issue