fixed global cosmo params bug