fix bugs & view render demo