fix design mode can't open bug