remove cos bits