fixing min-weight property on mozilla