fixing cocoframe.
fixing cocoframe.