fix php design mode