Fixed wrong return value from app.initialize func