modify compose type