Fix app entry point.