Fixed content create error and added preview rendering