merge brokengem and package define to one together