fixed COS & ECOS