Fix issue of failed page to create apps

The page to create an apps failed.

Fix #586