change prepare.df to accommodate colocCommonControl