Add the devinclude and fixed the preview type