fix editor demo